package com.qys.livesMall.app.user.model.vo.sys;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qys.livesMall.app.user.model.dto.app.AppUserAddressDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author Admin
 */
@Data
public class NewSysAppUserVo {

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "用户头像")
    private String userAvatar;

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "登录密码")
    private String loginPassword;

    @Schema(description = "支付密码")
    private String payPassword;

    @Schema(description = "区号")
    private Integer areaCode;

    @Schema(description = "手机号")
    private String phoneNum;

    @JsonSerialize(using = ToStringSerializer.class)
    @Schema(description = "用户等级ID")
    private Long userLevelId;

    @Schema(description = "用户等级名称")
    private String userLevelName;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "银行卡")
    private List<UserBankCardVO> bankCard;

    @Schema(description = "地址")
    private List<AppUserAddressDTO> address;

    @Schema(description = "钱包地址")
    private String purse;

}
